package com.guge.sports.mapper;

import com.guge.sports.entity.Dto.Option;
import com.guge.sports.entity.Dto.StStudentDto;
import com.guge.sports.entity.Dto.StTeacherDto;
import com.guge.sports.entity.StStudent;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guge.sports.toolPackage.utils.MyPager;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2022-09-14
 */
public interface StStudentMapper extends BaseMapper<StStudent> {

    List<StStudentDto> selectStStudent(@Param("student") StStudentDto student);
    List<Option> getGoSchoolYearList();
    List<Option> getGoStateTimeList();
    Integer selectCountStStudentPage(@Param("student") StStudent student);
    List<StStudentDto> selectStStudentPage(@Param("myPager") MyPager<StStudentDto> myPager, @Param("student") StStudentDto student);
}
